//
//  VVideoClipManger.h
//  VChatVideoClip
//
//  Created by huangbolun on 2017/10/9.
//  Copyright © 2017年 huangbolun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Photos/Photos.h>

@interface VVideoClipManger : NSObject

+ (instancetype)shareClipManger;

/**获取相册所有视频*/
- (void)getVideoListWithCompelet:(void (^)(PHFetchResult *result))complete;

/**获取指定帧图片*/
- (UIImage*) getVideoPreViewImageWithAsset:(AVURLAsset *)asset second:(NSInteger)second;

/**裁剪视频*/
- (void)clipWithAssert:(AVAsset *)assert Begin:(NSInteger)begin end:(NSInteger)end compelet:(void (^)(NSURL *url))compelete;

@property(nonatomic, strong) NSString *catchPath;


@end
